hvmloader: don't hard-code IO-APIC parameters
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:08:48 +0000 (10:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:08:48 +0000 (10:08 +0200)
commit8ef5b6e11bb2df01a57975aafa21ddd97c98ef0d
treef3c77b5533cbcf7d85b6c8fe379353b69665f183
parent2fd44a3edc1918c5e0eeab2d695c9a0dd2d3f506
hvmloader: don't hard-code IO-APIC parameters

The IO-APIC address has variable bits determined by the PCI-to-ISA
bridge (albeit for now we refrain from actually evaluating them, as
there's still implicit rather than explicit agreement on the IO-APIC
base address between qemu and the hypervisor), and the IO-APIC version
should be read from the IO-APIC.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/firmware/hvmloader/acpi/build.c
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/hvmloader.c
tools/firmware/hvmloader/mp_tables.c
tools/firmware/hvmloader/util.c